From da035d5f7908a72cef74e725ea9f4be4c559c456 Mon Sep 17 00:00:00 2001 From: robertlipe Date: Sun, 13 Apr 2014 00:54:47 +0000 Subject: [PATCH] Add missing do for transform rptdigits, rptname. --- .../xmldoc/filters/options/transform-rptdigits.xml | 13 +++++++++++++ .../xmldoc/filters/options/transform-rptname.xml | 12 ++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 gpsbabel/xmldoc/filters/options/transform-rptdigits.xml create mode 100644 gpsbabel/xmldoc/filters/options/transform-rptname.xml diff --git a/gpsbabel/xmldoc/filters/options/transform-rptdigits.xml b/gpsbabel/xmldoc/filters/options/transform-rptdigits.xml new file mode 100644 index 000000000..c035606b5 --- /dev/null +++ b/gpsbabel/xmldoc/filters/options/transform-rptdigits.xml @@ -0,0 +1,13 @@ + +This option lets you configure how many digits GPSBabel uses for numbering generated route point names. + + +When GPSBabel creates route points during the transformation process these points are sequentially numbered and named "RPTxxx" where xxx represent the number. By default GPSBabel uses 3 digits for these numbers. Rationale: This way a large number of route points can be uniquely named while the generated names are limited to 6 characters. This limitation is imposed by specific GPS-devices. + + +Using this option GPSBabel can be configured to use less or more digits for the generated names. This option is best used in conjunction with the rptname option. + + +Convert a GPX track to a GPX route, deleting the original track, using 2 digits for the generated numbers. +gpsbabel -i gpx -f track.gpx -x transform,wpt=trk,del,rptdigits=2 -o gpx -F route.gpx + diff --git a/gpsbabel/xmldoc/filters/options/transform-rptname.xml b/gpsbabel/xmldoc/filters/options/transform-rptname.xml new file mode 100644 index 000000000..39a1c2fce --- /dev/null +++ b/gpsbabel/xmldoc/filters/options/transform-rptname.xml @@ -0,0 +1,12 @@ + +With this option you can decide to let GPSBabel name generated route points according to their source track name. + + +GPSBabel creates route points during the transformation process named "RPTxxx" where xxx is a numeric part. + +Using this option GPSBabel can be configured to replace the "RPT" part of the generated names by the name of the source track during the transformation process. This is especially usefull if several differently named tracks are contained in the source file which should each be transformed into routes. + + +Convert a GPX track to a GPX route, deleting the original track, naming the generated points like the original track name. +gpsbabel -i gpx -f track.gpx -x transform,wpt=trk,del,rptname=y -o gpx -F route.gpx + -- 2.30.2